{
  lib,
  stdenv,
  fetchurl,
  ocaml,
  perl,
}:

stdenv.mkDerivation {
  pname = "bibtex2html";
  version = "1.99";

  src = fetchurl {
    url = "https://www.lri.fr/~filliatr/ftp/bibtex2html/bibtex2html-1.99.tar.gz";
    sha256 = "07gzrs4lfrkvbn48cgn2gn6c7cx3jsanakkrb2irj0gmjzfxl96j";
  };

  strictDeps = true;

  nativeBuildInputs = [
    ocaml
    perl
  ];

  meta = with lib; {
    description = "Collection of tools for translating from BibTeX to HTML";
    homepage = "https://www.lri.fr/~filliatr/bibtex2html/";
    license = licenses.gpl2Only;
    platforms = ocaml.meta.platforms or [ ];
    maintainers = [ maintainers.scolobb ];
  };
}
